Coping with Java Programming Stress

نویسندگان

  • Roger T. Alexander
  • James M. Bieman
  • John Viega
چکیده

M any developers view Java as the language solution to complex software engineering problems. They expect Java programs to resist system crashes, to be written once and run everywhere, and to withstand malicious attacks. For the most part, these expectations are reasonable. Java has many attributes that promote reliable, bug-free software: memory management to prevent memory leaks, strong type checking to prevent the misuse of objects, and built-in support for exception handling. Java’s virtual machine model increases portability and its security model provides a degree of safety when importing externally developed code. All these features are a great improvement over C++, Java’s nominal predecessor. Indeed, initial experimental results show greater programmer productivity and fewer program bugs for development with Java versus C++.1 Unfortunately, however, no language is ideal, and some features of Java contribute to rather than alleviate programmer stress because they create obscure places for bugs to hide. We have identified seven features that can lead to particularly resistant bugs. Our goal is not to indict Java—we are strong supporters, and our own organizations have adopted Java as their primary programming language. Rather, we want programmers to better understand Java’s weaknesses and know how to cope with them. In some cases, the strategies we suggest can prevent the weakness from affecting implementation. In other cases, they can minimize the damage. By being aware of these pitfalls and coping mechanisms, programmers can make sure that Java’s design flaws don’t make implementation more painful than it has to be.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

(Antoine de Saint-Exupéry, “L’Avion”, Ch. III)

Deadlock immunity is a property by which programs, once afflicted by a given deadlock, develop resistance against future occurrences of that and similar deadlocks. We describe a technique that enables programs to automatically gain such immunity without assistance from programmers or users. We implemented the technique for both Java and POSIX threads and evaluated it with several real systems, ...

متن کامل

Mindfulness, Stress, and Coping Among University Students

A sample of 135 first-year university students living in residence completed questionnaires that measured individual differences in mindfulness, coping styles, and perceived stress. Findings revealed significant positive relationships between mindfulness and rational coping, and significant negative relationships with emotional and avoidant coping and perceived stress. Regression analyses revea...

متن کامل

ABSTRACT Title of Dissertation: COPING WITH MULTIPLE STRESSORS: A CLOSER LOOK AT PSYCHOLOGICAL DISTRESS AMONG RACIAL MINORITIES

Title of Dissertation: COPING WITH MULTIPLE STRESSORS: A CLOSER LOOK AT PSYCHOLOGICAL DISTRESS AMONG RACIAL MINORITIES Min Ji Yang, Doctor of Philosophy, 2015 Dissertation directed by: Associate Professor Matthew J. Miller, Department of Counseling Psychology This study examined a comprehensive stress and coping model in a sample of 414 racial minority participants in the U.S. Specifically, thi...

متن کامل

Anti-Patterns in JDK Security and Refactorings

This paper underlines the importance of security awareness whilst programming Java applications. Several problems in current JDK implementations are demonstrated that allow to undermine the security of Java applications. Coding errors and quality problems in current Java distributions create possibilities to create covert channels, cause resource blocking and denial-of-service attacks. To make ...

متن کامل

Relationship between Level of Stress Experienced by Dental Students during Endodontic Treatment and Their Coping Strategies

Background and Aim: Dentistry is among the most stressful professions. Dentists’ occupational stress usually begins during their university education. This study aimed to assess the relationship between the level of stress experienced by dental students during endodontic treatment and their coping strategies. Materials and Methods: This descriptive study was conducted on 204 fifth and sixth ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • IEEE Computer

دوره 33  شماره 

صفحات  -

تاریخ انتشار 2000